package com.qcby.dao;

import com.qcby.entity.Tc;
import com.qcby.entity.Teachers;
import com.qcby.entity.vo.TeachersVo;

import java.util.List;

public interface TeachersDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Teachers record);

    int insertSelective(Teachers record);

    Teachers selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Teachers record);

    int updateByPrimaryKey(Teachers record);
    /*查所有*/
    List<TeachersVo> selectAll(TeachersVo teachersVo);
    /*查班级延迟加载专用*/
    List<TeachersVo> selectJoinById(Integer id);
    /*插入老师授课班级*/
    int inserttc(Tc tc);

    /*删除相关老师的关系连表，以便修改*/
    int deltc(Integer id);
}